import { ref } from 'vue'
const useUser = ()=>{
    const userInfo = ref({});
    // 获取用户信息
    const getUserInfo = () => {};
    // 更改用户信息
    const changeUserInfo = () => {};
    // 检查两次输入的密码是否相同
    const checkRepeatPass = (oldPass,newPass) => {}
    // 修改密码
    const changePassword = () => {};

    return {
        userInfo,
        getUserInfo,
        changeUserInfo,
        checkRepeatPass,
        changePassword,
    }
}

export default useUser